//
//  BRNotificationManager.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/9/9.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kAllDeviceNotiKey @"youdianstarApp"

NS_ASSUME_NONNULL_BEGIN

@interface BRNotificationManager : NSObject

/// 是否关闭通知 默认启用YES
+ (BOOL)isEnableNoti;
+ (void)setNotification:(BOOL)isEnable;

/// 订阅指定
+ (void)subNoti:(NSString *)notiName status:(void(^)(BOOL isSucc))status;
/// 取消订阅指定
+ (void)unsubNoti:(NSString *)notiName status:(void(^)(BOOL isSucc))status;
/// 订阅主推送主题
+ (void)subDeviceNoti;
/// 订阅全推送主题
+ (void)subAllNoti;

@end

NS_ASSUME_NONNULL_END
